import serial
import config as cfg
class DataHandler:
    def dataHandle(self,detectResult):
        if detectResult in cfg.recycleableGarbage:
            return "Recyclable"
        if detectResult in cfg.harmfulGrabage:
            return "Harmful"
        if detectResult in cfg.kitchenGarbage:
            return "Kitchen"
        if detectResult in cfg.anotherGrabage:
            return "Other"
        return "None"
